﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YBApproval.Model;

namespace YBApproval.IDAL
{
    public interface IApproval : IDisposable
    {
        List<ApprovalView> GetApprovals(int processId, int nodeOrder);

        bool Add(Approval approval);

        bool Update(Approval approval);

        bool Delete(Approval approval);

        bool InsertOrUpdate(Approval approval);
    }
}
